﻿package com.yc.navy.blog.blog.util;

public class StringUtil {
    private static boolean checkNull(String...strs){
        if (strs==null||strs.length==0){
            return true;
        }
        for (String str:strs){
            if (str==null||str.isBlank()){
                return true;
            }
        }
        return false;
    }

    public static boolean checknull(Object...objs){
        if (objs==null||objs.length==0){
            return true;
        }
        for (Object obj:objs){
            if (obj==null||String.valueOf(obj).isBlank()){
                return true;
            }
        }
        return false;
    }
}
